package com.entity;


import org.apache.ibatis.type.Alias;

@Alias("BaseComplaint")
public class Complaint extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 投诉人编号
	 */
	private String complainantId;

	/**
	 * 被投诉人编号
	 */
	private String complainedId;

	/**
	 * 投诉内容
	 */
	private String complaintContent;

	/**
	 * 投诉时间
	 */
	private String complaintTime;

	/**
	 * 匿名状态
	 */
	private Integer anonymityState;

	/**
	 * 投诉状态
	 */
	private Integer complaintState;
	
	/**
	 * 投诉人
	 */
	private String complainantName;
	
	/**
	 * 被投诉人
	 */
	private String complainedName;


	public Complaint () {
		super();
	}

	public Complaint (String id,String complainantId,String complainedId,String complaintContent,String complaintTime,Integer anonymityState,Integer complaintState) {
		this.id = id;
		this.complainantId = complainantId;
		this.complainedId = complainedId;
		this.complaintContent = complaintContent;
		this.complaintTime = complaintTime;
		this.anonymityState = anonymityState;
		this.complaintState = complaintState;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getComplainantName() {
		return complainantName;
	}

	public void setComplainantName(String complainantName) {
		this.complainantName = complainantName;
	}

	public String getComplainedName() {
		return complainedName;
	}

	public void setComplainedName(String complainedName) {
		this.complainedName = complainedName;
	}

	public String getComplainantId() {
		return this.complainantId;
	}

	public void setComplainantId(String complainantId) {
		this.complainantId = complainantId;
	}

	public String getComplainedId() {
		return this.complainedId;
	}

	public void setComplainedId(String complainedId) {
		this.complainedId = complainedId;
	}

	public String getComplaintContent() {
		return this.complaintContent;
	}

	public void setComplaintContent(String complaintContent) {
		this.complaintContent = complaintContent;
	}

	public String getComplaintTime() {
		return this.complaintTime;
	}

	public void setComplaintTime(String complaintTime) {
		this.complaintTime = complaintTime;
	}

	public Integer getAnonymityState() {
		return this.anonymityState;
	}

	public void setAnonymityState(Integer anonymityState) {
		this.anonymityState = anonymityState;
	}

	public Integer getComplaintState() {
		return this.complaintState;
	}

	public void setComplaintState(Integer complaintState) {
		this.complaintState = complaintState;
	}

	@Override
	public String toString() {
		return "Complaint[id=" + id+ ", complainantId=" + complainantId + ", complainedId=" + complainedId + ", complaintContent=" + complaintContent + ", complaintTime=" + complaintTime + ", anonymityState=" + anonymityState + ", complaintState=" + complaintState + "]";
	}


}

